package com.jason.www.dao;

import com.jason.www.pojo.User;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.jason.www.pojo.vo.UserVo;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author JasonChoi
 * @since 2018-06-29
 */

public interface UserMapper extends BaseMapper<User> {

    UserVo findByUserName(String username);


    List<User> findByUserNameLike(String username);
}
